
module.exports = {
	routes:[
		{ 
			path: '/news', 
			component: require('./views/News.vue'),
			children: [
				{
					path: 'top',
					component: require('./views/News-top.vue')
				}
			]
		 },
		{ 
			path: '/login', 
			component: require('./views/Login.vue') 
		},
		{
			name: 'user',
			path: '/user/:id',
			component: require('./views/User.vue')
		}
	]
}